package com.itzdm.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itzdm.reggie.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    Page pageCate(int page, int pageSize);

    void removeCateById(Long ids);

    /**
     * 根据条件查询分类
     * @param category
     * @return
     */
    List<Category> listCates(Category category);
}
